package com.hzdl.car.service;


import com.github.pagehelper.PageInfo;
import com.hzdl.car.bean.Menu;
import com.hzdl.car.bean.Role;
import com.hzdl.car.vo.RoleVo;
import com.hzdl.car.vo.TreeNode;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RoleService {
    PageInfo<Role> findByWhere(RoleVo roleVo);

    int updateRoleMenu(RoleVo roleVo,Integer[] ids);

    List<TreeNode> findAll(Integer pid , Integer roleId );

    int add1(RoleVo roleVo);
    int update(RoleVo roleVo);
    int delete(Integer id);
}
